package Day02;
import java.util.Scanner;

public class YuanCeShi {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        Yuan yuan=new Yuan();
        System.out.println("请输入圆的半径");
        yuan.r=scan.nextDouble();
        System.out.println("圆的周长是："+yuan.getZhouchang());
        System.out.println("圆的面积是："+yuan.getMianji());

    }
}
